import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";

import ElementPlus from "element-plus";
import "element-plus/dist/index.css";

import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";

import i18nPlugin from "./plugins/il8n.js";

import { createPinia } from "pinia";
const pinia = createPinia();

const app = createApp(App);

app.use(i18nPlugin, {
  greetings: {
    surname: "wang",
    name: "dong",
  },
});

app.use(router).use(ElementPlus).use(Antd).use(pinia).mount("#app");
